<#if bean.packageName??>
package ${bean.packageName!};

</#if>
// 本文件由 generate-tools 生成
<#-- 引入 excel -->
<#if bean.excelSupported == true>
// 待补充完整
</#if>
<#-- 引入 swagger -->
<#if bean.swaggerSupported == true>
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
</#if>
<#-- 引入 lombok -->
<#if bean.lombokSupported == true>
import lombok.Data;
</#if>

<#-- 引入field -->
<#list bean.fieldClassNames as classPath>
<#if classPath?index_of("java.lang") == -1>
import ${classPath};
</#if>
</#list>

import java.io.Serializable;

/**
 * ${bean.remarks!}
 * <p>
 * ${bean.tableName!}
 *
 * @author ${bean.author!}
 * @since ${.now?string('yyyy/MM/dd')}
 */
<#if bean.lombokSupported == true>
@Data
</#if>
<#if bean.swaggerSupported == true>
@ApiModel(value = "${bean.remarks!}")
</#if>
public class ${bean.name} implements Serializable {

<#-- 生成 field -->
<#list bean.fields as field>
    /**
     * ${field.remarks!}
     */
<#-- 生成 swagger -->
    <#if bean.swaggerSupported == true>
    @ApiModelProperty(value = "${field.remarks!}")
    </#if>
<#-- 生成 excel -->
    <#if bean.excelSupported == true>
        // 待补充完整
    </#if>
    private ${field.classSimpleName!} ${field.name!};

</#list>
<#-- 生成 getter、setter -->
<#if bean.lombokSupported == false>
    <#list bean.fields as field>

    public ${field.classSimpleName!} get${(field.name)?cap_first}() {
        return ${field.name};
    }

    public void set${field.name?cap_first}(${field.classSimpleName!} ${field.name}) {
        this.${field.name} = ${field.name};
    }
    </#list>

</#if>
}
